﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Repository.Entities
{
    public class User
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserId
        {
            get;
            set;
        }

        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password
        {
            get;
            set;
        }

        /// <summary>
        /// 用户电子邮箱
        /// </summary>
        public string Email
        {
            get;
            set;
        }

        /// <summary>
        /// 是否被锁
        /// </summary>
        public bool IsLocked
        {
            get;
            set;
        }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateDate
        {
            get;
            set;
        }

        /// <summary>
        /// 最近登录日期
        /// </summary>
        public DateTime LastLoginDate
        {
            get;
            set;
        }
    }
}
